package com.lkl.client;

import com.lkl.bean.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author lkl
 * @Description
 * @Date 2022/3/30
 */
@FeignClient(name = "tg-travel",path = "/travel")
public interface TravelClients {

    @RequestMapping("/findById/{id}")
    public BaseResp findById(@PathVariable("id") Integer id);
}
